package com.lglin.bean.product.vo;

import com.github.pagehelper.PageInfo;
import com.lglin.common.bean.Picture;
import com.lglin.common.bean.Review;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

@Data
public class ProductVo {
    private int id;
    private String name;
    private int num;
    private double oldPrice;
    private double newPrice;
    private String briefIntro;
    private String detail;
    private int stock;
    private boolean isNew;
    private List<Picture> pics = new ArrayList<>(9);
    private PageInfo<Review> reviews;
    private int reviewCount;
    private int averageStar;
}
